package com.example.newproject_overseas.components


import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import androidx.navigation.NavHostController

@Composable
fun test(navController: NavHostController) {
    Column(Modifier.fillMaxSize()) {
        Box(
            modifier = Modifier
                .size(200.dp)
                .background(Color.LightGray)
        ) {
            Text(text = "Container 1")
        }

        Box(
            modifier = Modifier
                .size(150.dp)
                .background(Color.Blue)
                .offset(x = 50.dp, y = 100.dp)
        ) {
            Text(text = "Container 2")
        }

        Box(
            modifier = Modifier
                .size(150.dp)
                .background(Color.Red)
        ) {
            Text(text = "Container 3")
        }
    }
}


